package com.douqu.game.main.service;

import com.douqu.game.core.database.model.IllegalityModel;
import com.douqu.game.main.database.mapper.read.ReadIllegalityMapper;
import com.douqu.game.main.database.mapper.write.WriteIllegalityMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by bean on 2017/8/12.
 */
@Service
public class IllegalityServiceImpl implements IllegalityService {

    @Autowired
    private WriteIllegalityMapper writeIllegalityMapper;

    @Override
    public void create(IllegalityModel model) {
        writeIllegalityMapper.insert(model);
    }
}
